
import biosignal.BioSignal;
import biosignal.biosignal;

public class TestJava1 {
  static {
    try {
        System.loadLibrary("biosignalJava");
    } catch (UnsatisfiedLinkError e) {
      System.err.println("Native code library failed to load. See the chapter on Dynamic Linking Problems in the SWIG Java documentation for help.\n" + e);
      String javaldpath = System.getProperty("java.library.path");
      System.out.println("ld_path : " + javaldpath);

      System.exit(1);
    }
  }
  public static void main(String argv[]) 
  {
    // ----- Object creation -----
    System.out.println( "Creating BioSignal:" );

	BioSignal bs = biosignal.load("/home/zaca/Development/test/crisis2-old.edf");
//	System.out.println( " total time :  " + bs.recording_time() );

    System.out.println( "Goodbye" );
  }
}

